The mission was to build a submarine that could go underwater, collect the most nails and return to the surface in the shortest time.